﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using HengTong.Model.Db;
using HengTong.Model.Db.Hr;


namespace HengTong.ViewModel.Person.SysPersonTrainBatcheVms
{
    public partial class SysPersonTrainBatcheTemplateVm : BaseTemplateVM
    {
        [Display(Name = "培训名称")]
        public ExcelPropety TrainNameExcel = ExcelPropety.CreateProperty<SysPersonTrainBatche>(x => x.TrainName);
        [Display(Name = "培训开始日期")]
        public ExcelPropety TrainStartDateExcel = ExcelPropety.CreateProperty<SysPersonTrainBatche>(x => x.TrainStartDate);
        [Display(Name = "培训结束日期")]
        public ExcelPropety TrainEndDateExcel = ExcelPropety.CreateProperty<SysPersonTrainBatche>(x => x.TrainEndDate);
        [Display(Name = "培训考试日期")]
        public ExcelPropety ExamDateExcel = ExcelPropety.CreateProperty<SysPersonTrainBatche>(x => x.ExamDate);

	    protected override void InitVM()
        {
        }

    }

    public class SysPersonTrainBatcheImportVm : BaseImportVM<SysPersonTrainBatcheTemplateVm, SysPersonTrainBatche>
    {

    }

}
